//
//  serverApiConfig.h
//  ExhibitionHall
//
//  Created by 王洋 on 2019/6/15.
//  Copyright © 2019 王洋. All rights reserved.
//

#ifndef serverApiConfig_h
#define serverApiConfig_h

//
//#define TT_Global_Api_Domain  @"http://192.168.1.129:9050/member"
//
//#define TT_Global_WS_Domain   @"ws://192.168.1.129:9050/ws?"
//
//#define TT_Global_H5_Domain   @"http://192.168.1.129:9050/"


//#define TT_Global_Api_Domain  @"http://192.168.1.156:9050/member"
//
//#define TT_Global_WS_Domain   @"ws://192.168.1.156:9050/ws?"
//
//#define TT_Global_H5_Domain   @"http://192.168.1.156:9050/h5/"


//#define TT_Global_Api_Domain  @"http://192.168.1.138:9050/member"
//
//#define TT_Global_WS_Domain   @"ws://192.168.1.138:9050/ws?"
//
//#define TT_Global_H5_Domain   @"http://192.168.1.138:9050/"


//#define TT_Global_Api_Domain  @"http://192.168.1.149:9050/member"
//
//#define TT_Global_WS_Domain   @"ws://192.168.1.149:9050/ws?"
//
//#define TT_Global_H5_Domain   @"http://192.168.1.149:9050/"

//#ifdef DEBUG
//
//#define TT_Global_Api_Domain  @"http://121.40.254.106:8080/member"
//
//#define TT_Global_WS_Domain   @"ws://121.40.254.106:8080/ws?"
//
//#define TT_Global_H5_Domain   @"http://121.40.254.106:8080/"
//
//#else

#define TT_Global_Api_Domain  @"http://m.paipaideli.com/member"

#define TT_Global_WS_Domain   @"ws://m.paipaideli.com/ws?"

#define TT_Global_H5_Domain   @"http://m.paipaideli.com/h5/"

//#endif


//  OSS图片上传
#define OSS_AccessKeyId                 @"LTAI4FezQuSRJaZCSWQWnqcM"
#define OSS_AccessKeySecret             @"sHZLAT9nxGdenhckvQb8HqAJlKP16g"

#define OSS_ENDPOINT                    @"http://oss-cn-hangzhou.aliyuncs.com"
#define OSSBUCKET_NAME                  @"pdl-ossrw201909"

#define OSS_IMAGE_PREFIX                @"http://pdl-ossrw201909.oss-cn-hangzhou.aliyuncs.com/"



#pragma mark API--------------------LOGIN--------------------

#define TT_REGISTER_SMSCODE          @"/login/smscode"

#define TT_RGISTER_API               @"/login/register"

#define TT_LOGIN_API                 @"/login/logIn"

#define TT_LOGIN_FORGOT_PSW          @"/login/forgetPwd"

#define TT_LOGIN_WXAUTH              @"/login/wx/public/auth"

#pragma mark API--------------------INDEX--------------------

//首页
#define TT_HOME_ALL                  @"/index/all"
//消息
#define TT_INDEX_MESSAGE             @"/index/message"


#pragma mark API--------------------AUCTION--------------------

//拍场
#define TT_AUCTION_LIST             @"/auction/list"

//商品详情
#define TT_AUCTION_GOODSDETAIL      @"/auction/detail"

//进入拍场
#define TT_AUCTION_INTO             @"/auction/into"

//获取房间号
#define TT_AUCTION_TAKE             @"/auction/take"

//离开拍场
#define TT_AUCTION_QUIT             @"/auction/quit"

//拍价记录
#define TT_AUCTION_BIDRECORD        @"/auction/bidrecord"

//收藏产品
#define TT_AUCTION_FOLLOW           @"/auction/follow"



#pragma mark API--------------------SHOP--------------------

#define TT_SHOP_CATEGORY        @"/shop/category"

#define TT_SHOP_FINDSHOPLIST    @"/shop/findShopList"

#define TT_SHOP_DETAIL          @"/shop/detailShop"

#define TT_SHOP_MALLPAI_PERMIT  @"/shop/gain/permit"

#define TT_SHOP_MALLPAI_RECORD  @"/shop/auctionRecorde"


#pragma mark API--------------------MEMBER--------------------

#define TT_MINE_INFO                 @"/member/my"

//修改用户名手机号
#define TT_MINE_INFO_UPDATE          @"/member/update"

#define TT_MEMBER_CHANGE_PSW         @"/member/pwd"

#define TT_MEMBER_CHANGE_PAY_PSW     @"/member/paypwd"

#define TT_MEMBER_REALNAME_AUTH      @"/member/certificat"

#define TT_MEMBER_BANKCARD_LIST      @"/member/bank/list"

#define TT_MEMBER_BANKCARD_ADD       @"/member/bank/add"

#define TT_MEMBER_BANKCARD_UPDATE    @"/member/bank/update"

#define TT_MEMBER_MY_ASSET           @"/member/assets"
//申请提现
#define TT_MEMBER_WITHDRAW_APPLY     @"/member/withdrawal/apply"

#define TT_MEMBER_WITHDRAW_APPLY_V2  @"/member/v2/withdrawal/apply"
//优惠券
#define TT_MEMBER_RECOMMEND_COUPON     @"/member/recommend"

#define TT_MEMBER_WITHDRAW_DETAIL     @"/member/withdrawal/detail"



#pragma mark API--------------------POPULARIZE--------------------

//累计收益
#define TT_POPULARIZE_RECORD                  @"/popularize/record"

//收益树
#define TT_POPULARIZE_INCOME_TREE             @"/popularize/tree"

//摘取收益
#define TT_POPULARIZE_INCOME_EXTRACT          @"/popularize/extract"

//收取全部收益
#define TT_POPULARIZE_INCOME_EXTRACTALL       @"/popularize/extractall"

//师徒
#define TT_POPULARIZE_APPRENTICE_LIST         @"/popularize/pupil"



#pragma mark API--------------------ORDER--------------------

//订单列表
#define TT_ORDER_LIST                               @"/order/list"

//订单列表
#define TT_ORDER_DETAIL                             @"/order/detail"

//物流信息
#define TT_ORDER_LOGISTIC_LIST                      @"/order/logistic"

//订单地址更换
#define TT_ORDER_ADDRESS_CHANGE                     @"/order/addr/change"

//订单删除
#define TT_ORDER_DELETE                             @"/order/del"

//提醒发货
#define TT_ORDER_REMIND_SEND                        @"/order/remind"

//确认收货
#define TT_ORDER_RECEIVE                            @"/order/receive"

//订单金额
#define TT_ORDER_PRICE                              @"/order/price"

//添加地址
#define TT_ADDRESS_ADD                            @"/address/add"

#define TT_ADDRESS_LIST                           @"/address/list"

#define TT_ADDRESS_SET_DEFAULT                    @"/address/set/isUse"

#define TT_ADDRESS_UPDATE                         @"/address/update"

//pay
//支付宝
#define TT_PAY_ALIPAY                         @"/pay/alipay/toPay"
//微信
#define TT_PAY_WXPAY                          @"/pay/wxpay/toPay"
//余额
#define TT_PAY_BALANCEPAY                     @"/pay/blance/pay"

//通知支付宝查询
#define TT_NOTIFICATION_SERVER_ALIPAY                     @"/pay/alipay/query"
//通知微信查询
#define TT_NOTIFICATION_SERVER_WECHAT                     @"/pay/wxpay/query"


//请求预授权
#define TT_PreAuth_ALIPAY                                    @"/authfreeze/toFreee"

//取消预授权
#define TT_PreAuth_ALIPAY_CANCLE                             @"/authfreeze/unFreeze"

//通知服务器预授权
#define TT_NOTIFICATION_SERVER_PREAUTH                       @"/authfreeze/query"



#pragma mark Html--------------------Html--------------------


//隐私政策
#define TT_HTML_PRIVACY_POLICY        @"agreement.html"

//竞拍规则
#define TT_HTML_AUCTION_RULES         @"auction.html"

//关于我们
#define TT_HTML_ABOUT_US              @"aboutUs.html"

//分享有礼
#define TT_HTML_SHARE_GIFT            @"register.html"

//订单分享
#define TT_HTML_SHARE_ORDER            @"lowAuction.html"



#pragma mark Html--------------------帮助中心--------------------

//常见问题
#define TT_HTML_COMMON_PROBLEM                   @"commonProblem.html"

//抢拍流程
#define TT_HTML_SHOOT_PROCESS                    @"snatch.html"

//推广操作流程
#define TT_HTML_PROMOTION_PROCESS                @"extension.html"

//获取收益操作流程（提现操作流程）
#define TT_HTML_ACQUIR_REVENUE_PROCESS           @"cash.html"

//实名认证
#define TT_HTML_REALNAME_AUTH_PROCESS            @"realName.html"

//登录注册操作流程
#define TT_HTML_LOGIN_PROCESS                    @"registerLC.html"

//拍拍得利百科
#define TT_HTML_PPDL_BAIKE                       @"micropedia.html"

//参加拍卖操作流程   获取参拍资格操作流程
#define TT_HTML_PARTICIPATE_AUCTION_PROCESS      @"snatch.html"



#endif /* serverApiConfig_h */
